package com.frejoys.common.dto.common.resourcelibrary;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ResourceLibraryListDto extends PageDto {

    @Schema(type = "Integer", name = "id", description = "id", required = false, defaultValue = "1")
    private Integer id;

    @Schema(type = "String", name = "name", description = "名称", required = false, defaultValue = "http://xxx.com/upload/demo.png")
    private String name;

    @Schema(type = "Integer", name = "site", description = "上传来源：1.app，2.admin", required = false, defaultValue = "1")
    private Integer site;

    @Schema(type = "String", name = "startTime", description = "起始时间", required = false, defaultValue = "2023-11-30 12:00:00")
    private String startTime;

    @Schema(type = "String", name = "endTime", description = "结束时间", required = false, defaultValue = "2023-11-30 12:00:00")
    private String endTime;

    @Schema(type = "Integer", name = "status", description = "状态：0等待上传，1已上传", required = false, defaultValue = "0")
    private Integer status;

}
